package com.jyw.business.ast.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jyw.common.annotation.Excel;
import com.jyw.common.core.domain.BaseEntity;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

/**
 * 资产-操作关系对象 ast_deal_relation
 * 
 * @author system
 * @date 2023-10-19
 */
@Data
@TableName("ast_deal_relation")
@ApiModel("资产-操作关系实体")
public class AstDealRelation
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty("主键")
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 类型(1调拨,2转移,3借用,4处置) */
    @ApiModelProperty("类型(1调拨,2转移,3借用,4处置)")
    @Excel(name = "类型(1调拨,2转移,3借用,4处置)")
    private String type;

    /** 业务主键 */
    @ApiModelProperty("业务主键")
    private Long businessId;

    /** 调出科室 */
    @ApiModelProperty("调出科室")
    @Excel(name = "调出科室")
    private Long outDept;

    /** 调入科室 */
    @ApiModelProperty("调入科室")
    @Excel(name = "调入科室")
    private Long inDept;

    /** 资产标识 */
    @ApiModelProperty("资产标识")
    @Excel(name = "资产标识")
    private Long astId;

    /** 处置状态 */
    @ApiModelProperty("处置状态")
    @Excel(name = "处置状态")
    private String dispose;

}
